package net.skystudio.es.service;

import net.skystudio.es.common.PageBean;
import net.skystudio.es.dto.MixedOrderDTO;
import net.skystudio.es.entity.MixedOrder;
import org.springframework.data.domain.Page;

import java.util.List;

public interface MixedOrderService {

    long count();

    MixedOrder save(MixedOrder mixedOrder);

    void delete(MixedOrder mixedOrder);

    Iterable<MixedOrder> getAll();

    List<MixedOrder> getByGoodsInfo(String goodsInfo);

    Page<MixedOrder> pageQuery(Integer page, Integer size, MixedOrderDTO mixedOrderDTO);

}
